/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const withdrawalRouter = {
    path: '/withdrawal',
    component: Layout,
    name: 'withdrawal',
    meta: {
        title: '提现管理',
        icon: 'component'
    },
    children: [
        {
            path: 'withdrawal-list',
            component: () => import('@/views/withdrawal/list.vue'),
            name: 'withdrawal-list',
            meta: { title: '提现列表' }
        },
        {
            path: 'withdrawal-list-detailed',
            component: () => import('@/views/withdrawal/detailed.vue'),
            name: 'withdrawal-list-detailed',
            hidden: true,
            meta: { title: '明细' }
        },
        // {
        //     path: 'withdrawal-set',
        //     component: () => import('@/views/withdrawal/set.vue'),
        //     name: 'withdrawal-set',
        //     meta: { title: '提现设置' }
        //   },
    ]
}

export default withdrawalRouter
